#include "head.h"

extern int pipe_fd[2];

void handler(int signum)
{
    printf("收到了2号信号\n");

    if(signum == SIGINT)
        write(pipe_fd[1], "huzhu", 5);
}